FROM python:3.11.2

WORKDIR /code

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY ./app /code/app
EXPOSE 80
CMD [ "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]   